Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use a finalizer to make sure web hooks are removed when operator is uninstalled #1092

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jonner
Copy link
Contributor

@jonner jonner commented Oct 8, 2024

When uninstalling the forklift operator, not all resources are removed from the cluster. In particular, there are at least 3 validatingwebhookconfiguration objects and 3 mutatingwebhookconfiguration objects that are left behind. By using a finalizer on the operator, we can ensure that these objects are removed from the cluster.

@yaacov
Copy link
Member

yaacov commented Oct 9, 2024

…ninstalled

When uninstalling the forklift operator, not all resources
are removed from the cluster. In particular, there are
at least 3 validatingwebhookconfiguration objects and 3
mutatingwebhookconfiguration objects that are left behind. By using a
finalizer on the operator, we can ensure that these objects are removed
from the cluster.

Fixes: https://issues.redhat.com/browse/MTV-1076

Signed-off-by: Jonathon Jongsma <[email protected]>
Copy link

sonarcloud bot commented Oct 10, 2024

@codecov-commenter
Copy link

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 16.17%. Comparing base (0fe6512) to head (b5b3def).

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1092      +/-   ##
==========================================
- Coverage   16.24%   16.17%   -0.08%     
==========================================
  Files         112      112              
  Lines       19882    19882              
==========================================
- Hits         3229     3215      -14     
- Misses      16365    16380      +15     
+ Partials      288      287       -1     
Flag Coverage Δ
unittests 16.17% <ø> (-0.08%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants